import React from 'react';
import styles from './index.less';

interface InfoSectionProps {
    title: string;
    children: React.ReactNode;
}

// 信息段
const InfoSection: React.FC<InfoSectionProps> = ({ title, children }) => (
    <div className={styles['section-container']}>
        <div className={styles['section-title']}>
            <strong>{title}：</strong>
        </div>
        <div>{children}</div>
    </div>
);

export default InfoSection;
